package com.example.democlient.feign;

import java.util.List;
import java.util.Map;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author jiaoheng
 * @Description
 * @createTime 2024-02-23 23:25
 */
@FeignClient("DEMO-SERVER")
public interface DemoServerFeign {

  @RequestMapping("/users")
  List<Map<String,Object>> users();

}
